package models

import (
	"github.com/beego/beego/v2/client/orm"
	_ "github.com/go-sql-driver/mysql"
	"time"
)

type IpccConfAgent struct {
	Id        uint64    `orm:"pk"`
	Name      string    `orm:"description(坐席名称)"`
	ServiceId string    `orm:"description(坐席Id)"`
	AppId     string    `orm:"description(公司Id)"`
	Number    string    `orm:"description(坐席号码);pk"`
	Passwd    string    `orm:"description(密码)"`
	Active    bool      `orm:"description(生效)"`
	Create    time.Time `orm:"description(创建时间)"`
}

func RegisterAgent() {
	orm.RegisterModel(new(IpccConfAgent))
}
